package com.work.bean;


import java.time.LocalDateTime;
import java.util.Date;

public class Hw {
    private Integer id;
    private Integer teacher_id;
    private String title;
    private String describe;
    private Date end_time;

    public Hw(Integer id,Integer teacher_id, String title, String describe, Date end_time) {
        this.id = id;
        this.teacher_id = teacher_id;
        this.title = title;
        this.describe = describe;
        this.end_time = end_time;
    }

    public Hw() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTeacher_id() {
        return teacher_id;
    }

    public void setTeacher_id(Integer teacher_id) {
        this.teacher_id = teacher_id;
    }

    public void setEnd_time(Date end_time) {
        this.end_time = end_time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Date getEnd_time() {
        return end_time;
    }


    @Override
    public String toString() {
        return "Hw{" +
                "id=" + id +
                ", teacher_id=" + teacher_id +
                ", title='" + title + '\'' +
                ", describe='" + describe + '\'' +
                ", end_time=" + end_time +
                '}';
    }
}
